import Vue from "vue"
import Vuex from "vuex"
import createPersistedState from "vuex-persistedstate"
import count from "./count"
import movie from "./movie"


Vue.use(Vuex)

export default new Vuex.Store({
    modules: {
        namespaced: true,
        count,
        movie
    },
    plugins:[createPersistedState()]
})